/*
 *  Artifact.cpp
 *  MilovoMg00
 *
 *  Created by jonny on 6/8/06.
 *  Copyright 2006 __MyCompanyName__. All rights reserved.
 *
 */

#include "Artifact.h"

Artifact::Artifact() {
	ID = -1;
	Name = 0;
	IDRecipeOwner = 0;
	IDAgentOwner = 0;
	Status = 0;
	Amount = 0;
	AmountCeil = 0;
	Buyers = 0;
	BornStep = 0;
}

Artifact::Artifact(Mil_Int tmpID, Mil_Int tmpName, Mil_Int tmpIDRecipeOwner, Mil_Int tmpIDAgentOwner, Mil_Int tmpStatus, 
						 Mil_Int tmpAmount, Mil_Int tmpAmountCeil, Mil_Int tmpBuyers, Mil_Int tmpBornStep)
{
	ID = tmpID;
	Name = tmpName;
	IDRecipeOwner = tmpIDRecipeOwner;
	IDAgentOwner = tmpIDAgentOwner;
	Status = tmpStatus;
	Amount = tmpAmount;
	AmountCeil = tmpAmountCeil;
	Buyers = tmpBuyers;
	BornStep = tmpBornStep;
}

Artifact::~Artifact()
{
}

bool Artifact::IsActive() {
	if(Status > 0)
		return true;
	else return false;
}

